﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;
using System.Data.SqlClient;
using System.Data;

namespace Loja_Virtual_Livraria.App_Code.SQLServerDAL
{
    public class SQLServerConnection
    {
        private static string cnString = ConfigurationManager.ConnectionStrings["SQLServerConStr"].ConnectionString.ToString();

        public static SqlConnection getConnection()
        {
            return new SqlConnection(cnString);
        }
    }
}